/*********************************************************************************
 *       Filename:  ds18b20.h
 *    Description:  This file statement of the ds18b20.c 
 *
 *        Version:  1.0.0(2024/11/28 17:59:08)
 *         Author:  Zhang Long <1318085470@qq.com>
 *      ChangeLog:  1, Release initial version on "2024/11/28 17:59:08"
 ********************************************************************************/
#ifndef  _DS18B20_H_
#define  _DS18B20_H_

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>

extern int get_temperature(float *temp);

extern int get_devid(char *id, int size);

#endif  /* ----- #ifndef _DS18B20_H_  ----- */
